import { ApiProperty } from "@nestjs/swagger";
import { HotList } from "@prisma/client";

export class HotlistEntity implements HotList {
    @ApiProperty()
    id: number;
    @ApiProperty()
    title: string;
    @ApiProperty()
    hotScore: number;
    @ApiProperty()
    isPinned: boolean;
    @ApiProperty()
    createdAt: Date;
    @ApiProperty()
    updatedAt: Date;
    @ApiProperty()
    isDeleted: boolean;
    @ApiProperty()
    deletedAt: Date;
}
